package com.tis.database.entitys.promis;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.tis.database.dao.ClsInstance;


/**
 * The persistent class for the VW_SYNC_INVOICE_BL database table.
 * 
 */
@Entity
@Table(name=ClsInstance.PROMIS_SCHEMA + ClsInstance.POINTER + "VW_SYNC_INVOICE_BL")
@NamedQueries({
	@NamedQuery(name=VwSyncInvoiceBl.findAll, query="FROM VwSyncInvoiceBl c"),
	@NamedQuery(name=VwSyncInvoiceBl.findByIs, query="FROM VwSyncInvoiceBl c WHERE 1 = 1 ")
})
public class VwSyncInvoiceBl implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String findAll = "VwSyncInvoiceBl_findAll";
	public static final String findByIs = "VwSyncInvoiceBl_findByIs";

	@Id
	@Column(name="ID")
	private String id;
	
	private String company;

	@Column(name="DOCUMENT_NO")
	private String documentNo;

	private String project;

	private String status;

	@Column(name="SYNC_ISSTAGING")
	private String syncIsstaging;

	@Column(name="SYNC_ISSYNC")
	private String syncIssync;
	
	@Override
	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}

	/**
	 * @return the id
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the company
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getCompany() {
		return company;
	}

	/**
	 * @param company the company to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setCompany(String company) {
		this.company = company;
	}

	/**
	 * @return the documentNo
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getDocumentNo() {
		return documentNo;
	}

	/**
	 * @param documentNo the documentNo to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setDocumentNo(String documentNo) {
		this.documentNo = documentNo;
	}

	/**
	 * @return the project
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getProject() {
		return project;
	}

	/**
	 * @param project the project to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setProject(String project) {
		this.project = project;
	}

	/**
	 * @return the status
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the syncIsstaging
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getSyncIsstaging() {
		return syncIsstaging;
	}

	/**
	 * @param syncIsstaging the syncIsstaging to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setSyncIsstaging(String syncIsstaging) {
		this.syncIsstaging = syncIsstaging;
	}

	/**
	 * @return the syncIssync
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 * VwSyncInvoiceBl.java String
	 * TODO
	 */
	public String getSyncIssync() {
		return syncIssync;
	}

	/**
	 * @param syncIssync the syncIssync to set
	 * Date =Nov 4, 2013 : 2:36:16 PM 
	 * CreateBy=Chatree Siangklom
	 *  VwSyncInvoiceBl.java String
	 * TODO
	 */
	public void setSyncIssync(String syncIssync) {
		this.syncIssync = syncIssync;
	}

}